package com.inossem.warehousestorage_inossem.bean.refundStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by leij on 2017/7/3.
 */

public class RefundStorageBatchListBean extends Bean implements Serializable{


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"batchList":[{"batchNumber":"111","contractCode":"1111111","supplier":"宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司","inStorageDate":"2017-08-09","manufactureDate":"2017-05-09","validityDate":"2019-05-09","batchInfoList":[{"name":"性别","text":"男"},{"name":"地址","text":"辽宁省沈阳市"}]},{"batchNumber":"111","contractCode":"1111111","supplier":"宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司","inStorageDate":"2017-08-09","manufactureDate":"2017-05-09","validityDate":"2019-05-09","batchInfoList":[{"name":"性别","text":"男"},{"name":"地址","text":"辽宁省沈阳市"}]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private List<BatchListBean> batchList;

        public List<BatchListBean> getBatchList() {
            return batchList;
        }

        public void setBatchList(List<BatchListBean> batchList) {
            this.batchList = batchList;
        }

        public static class BatchListBean implements Serializable {
            /**
             * batchNumber : 111
             * contractCode : 1111111
             * supplier : 宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司
             * inStorageDate : 2017-08-09
             * manufactureDate : 2017-05-09
             * validityDate : 2019-05-09
             * batchInfoList : [{"name":"性别","text":"男"},{"name":"地址","text":"辽宁省沈阳市"}]
             */

            private String batchNumber;
            private String contractCode;
            private String supplier;
            private String inStorageDate;
            private String manufactureDate;
            private String validityDate;
            private List<BatchInfoListBean> batchInfoList;

            public String getBatchNumber() {
                return batchNumber;
            }

            public void setBatchNumber(String batchNumber) {
                this.batchNumber = batchNumber;
            }

            public String getContractCode() {
                return contractCode;
            }

            public void setContractCode(String contractCode) {
                this.contractCode = contractCode;
            }

            public String getSupplier() {
                return supplier;
            }

            public void setSupplier(String supplier) {
                this.supplier = supplier;
            }

            public String getInStorageDate() {
                return inStorageDate;
            }

            public void setInStorageDate(String inStorageDate) {
                this.inStorageDate = inStorageDate;
            }

            public String getManufactureDate() {
                return manufactureDate;
            }

            public void setManufactureDate(String manufactureDate) {
                this.manufactureDate = manufactureDate;
            }

            public String getValidityDate() {
                return validityDate;
            }

            public void setValidityDate(String validityDate) {
                this.validityDate = validityDate;
            }

            public List<BatchInfoListBean> getBatchInfoList() {
                return batchInfoList;
            }

            public void setBatchInfoList(List<BatchInfoListBean> batchInfoList) {
                this.batchInfoList = batchInfoList;
            }

            public static class BatchInfoListBean implements Serializable{
                /**
                 * name : 性别
                 * text : 男
                 */

                private String name;
                private String text;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }
        }
    }
}
